package cn.iocoder.yudao.module.lfd.dal.dataobject.appointment;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppointmentStatictis {

    private String shopName;
    private String nickName;
    private BigDecimal money;

    public static AppointmentStatictis add(AppointmentStatictis appointmentStatictis, AppointmentStatictis appointmentStatictis1) {
        return appointmentStatictis.setMoney(appointmentStatictis.getMoney().add(appointmentStatictis1.getMoney()));
    }
}
